"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _react = _interopRequireDefault(require("react"));

var _design = require("@discuzq/design");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var BackToTopExample = function BackToTopExample() {
  return /*#__PURE__*/_react.default.createElement("div", null, "\u5411\u4E0B\u6EDA\u52A8\u67E5\u770B\u53F3\u4E0B\u89D2\u7684\u7070\u8272\u6309\u94AE\u3002", /*#__PURE__*/_react.default.createElement(_design.BackToTop, {
    right: 50,
    bottom: 300,
    onClick: function onClick() {
      return console.log('back top');
    }
  }, /*#__PURE__*/_react.default.createElement(_design.Button, null, "\u8FD4\u56DE\u9876\u90E8")), /*#__PURE__*/_react.default.createElement(_design.BackToTop, {
    right: 50,
    bottom: 400,
    onClick: function onClick() {
      return console.log('back top');
    }
  }, /*#__PURE__*/_react.default.createElement(_design.Button, null, "\u81EA\u5B9A\u4E49\u5185\u5BB9")));
};

var _default = BackToTopExample;
exports.default = _default;